package com.igeek.boot.entity;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

import java.util.Date;
import java.util.List;
import java.util.Map;
import java.util.Set;

/**
 * @package com.igeek.boot.entity
 * @Description
 * @Author LittlePunk [296526219@qq.ccom]
 * @Version 2022.1
 * @Date 2023/12/6 14:24
 */
@Data
@ConfigurationProperties(prefix = "p")
public class People {

    private String name;
    private boolean sex;
    private Date birth;

    private String[] hobby;
    private Pet pet;
    private Set<Pet> pets;

    private List<Map<String,Pet>> mapList;
    private Map<String,List<Pet>> map;

}
